-- GENERATED SPELL FOR [Marauding Corpse] --


function spell0_10951(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(13584,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10951', 655, 1)
end

function Sorts_10951(pUnit, Event)
local choix_sorts_10951 = math.random(0, 0)
if choix_sorts_10951 == 0 then
pUnit:RegisterEvent('spell0_10951', 1, 1)
end
end

function mob10951_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10951', math.random(1500, 3000), 1)
end

function mob10951_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10951_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10951_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10951, 1, 'mob10951_Action')
RegisterUnitEvent(10951, 2, 'mob10951_Leave')
RegisterUnitEvent(10951, 3, 'mob10951_Kill')
RegisterUnitEvent(10951, 4, 'mob10951_Die')
